
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<!--topbar  -->
<nav class="navbar sticky-top flex-md-nowrap p-0" th:fragment="topbar"  id="navbar" >
    <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#"  id="navbar-brand">[[${session.loginUser}]]</a>
    <h5>成绩管理系统@重庆工商大学</h5>
    <ul class="navbar-nav px-3" id="navbar-nav">
        <li class="nav-item text-nowrap">
            <a class="nav-link" th:href="@{/logout}">退出登录</a>
        </li>
    </ul>
</nav>

<!--sidebar-->
<nav class="col-md-2 d-none d-md-block  sidebar" id="sidebar">
    <div class="sidebar-sticky">
        <ul class="nav flex-column">

            <li class="nav-item">
                <a class="nav-link active" href="#" th:href="@{/adm/toindex}"
                   th:class="${activeUri=='index'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">
                        <path d="M3 9l9-7 9 7"></path>
                        <path d="M9 22V12H15V22"></path>
                    </svg>
                    首页
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link active" href="#" th:href="@{/adm/tostudmin/1}"
                   th:class="${activeUri=='stu'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">
                        <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
                        <circle cx="9" cy="7" r="4"></circle>
                        <path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
                        <path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
                    </svg>
                    管理学生
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link active" href="#" th:href="@{/adm/toteadmin/1}"
                   th:class="${activeUri=='tea'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">
                        <path d="M17 8l4 4m0 0l-4 4m4-4H3"></path>
                        <circle cx="9" cy="8" r="4"></circle>
                        <path d="M23 13v2a4 4 0 0 1-4 4H5a4 4 0 0 1-4-4v-2"></path>
                    </svg>
                    管理老师
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link active" href="#" th:href="@{/adm/toclassdmin/1}"
                   th:class="${activeUri=='class'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">
                        <path d="M12 2L2 7l10 5 10-5-10-5z"></path>
                        <path d="M2 17l10 5 10-5"></path>
                        <path d="M2 12l10 5 10-5"></path>
                    </svg>
                    管理班级
                </a>
            </li>
        </ul>
        <img src="/helps/img/ctbu1.jpg" alt="logo" style="position: absolute; bottom: 0; height: auto; max-width: 100%; width: 100%;">

    </div>
</nav>

</body>
</html>



